<?php echo $this->render('layouts/__header.phtml'); ?>
<?php echo $this->render('layouts/__nav.phtml'); ?>
    <h1><?php echo $this->user; ?></h1>    
    <?php echo date("M-d Y H:m:s"); ?>    
    <div class="todo" style="margin-top: 20px;">
    There are <a href="/user/messages"><?php echo $this->unreadMsgCount; ?></a> messages for you to read.<br />    
    Task info:<br />
    new: <a href="/user/tasks"><?php echo (isset($this->taskCounts['ts_0']) && $this->taskCounts['ts_0']>0)?$this->taskCounts['ts_0']:0; ?></a><br />
    under work: <a href="/user/tasks"><?php echo (isset($this->taskCounts['ts_7']) && $this->taskCounts['ts_7'])>0?$this->taskCounts['ts_7']:0; ?></a><br />
    finished: <a href="/user/tasks"><?php echo (isset($this->taskCounts['ts_2']) && $this->taskCounts['ts_2'])>0?$this->taskCounts['ts_2']:0; ?></a><br/>
    </div>
    
    <div class="msgs">
    
    </div>
<?php echo $this->render('layouts/__footer.phtml'); ?>